package com.hzyc.internetshop.mapper;

import java.util.List;

import com.hzyc.internetshop.bean.Article;
import com.hzyc.internetshop.bean.Goods;
import com.hzyc.internetshop.bean.Imgs;
import com.hzyc.internetshop.bean.Orders;
import com.hzyc.internetshop.bean.Page;
import com.hzyc.internetshop.bean.User;

public interface Houtaimapper {
	
	public List<Goods> sousuo_goodname(String name);
	public void add_ad(Imgs imgs);
	public List<User> showuser();
	public String getPassword(String username);
	public void addUser(User u);
	public List<Imgs> show_ads();
	public void delete_ad(String id);
	public Imgs look_ad(String id);
	public void remove_ad();
	public void use_ad(String id);
	
	public List<Orders> select_orders(Page page);
	public int getordernum();
	
	public List<String> tongji_allprice(String value);
	public void addArticle(Article article);
	public List<String> loadFirst();
	public List<String> loadSecond();
	public void updateArticle(Article article);
}
